package com.szgr.baoyin.adapter;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

import com.szgr.baoyin.R;

/**
 * Created by yang on 15/10/23.
 */
public class MsgCenterListAdapter extends BaseAdapter {
    private Context mContext;
    public MsgCenterListAdapter(Context context){
        mContext = context;
    }
    @Override
    public int getCount() {
        return 10;
    }

    @Override
    public Object getItem(int position) {
        return null;
    }

    @Override
    public long getItemId(int position) {
        return 0;
    }

    @Override
    public View getView(int position, View convertView, ViewGroup parent) {
        if(convertView == null){
            convertView = LayoutInflater.from(mContext).inflate(R.layout.item_message_center_list_view,parent,false);

        }
        return convertView;
    }
}
